package com.ll.domain.pk.base;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ll.app.api.req.ListPkReqDTO;
import com.ll.base.dto.IdDTO;
import com.ll.dal.po.PkPO;
import com.ll.domain.pk.dto.PkDTO;

import java.util.List;

public interface PkBaseService extends IService<PkPO>  {

    PkPO getTodayPkBySourceId(Long tenantId, Long sourceId);

    PkPO getTodayPkByTargetId(Long tenantId, Long targetId);

    List<PkPO> getPkIngById(Long tenantId, Long id);

    List<PkPO> list(ListPkReqDTO dto);

    PkPO getById(Long id, boolean checkNull);

}
